package com.cssy.xxkj.logic.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.cssy.xxkj.logic.entity.LogicCheckBackDO;
import com.plat.helper.SearchConditions;

/**
 * 数据访问对象接口
 * @since 2014-11-12
 */
public interface LogicCheckBackDAO extends LogicBizDAO<LogicCheckBackDO>{

    /**
     * 插入数据
     * @param logicCheckBackDO
     * @return 插入数据的主键
     */
    public String insertLogicCheckBackDO(LogicCheckBackDO logicCheckBackDO) throws DataAccessException;

    /**
     * 统计记录数
     * @param logicCheckBackDO
     * @return 查出的记录数
     */
    public Integer countLogicCheckBackDOByExample(LogicCheckBackDO logicCheckBackDO) throws DataAccessException;

    /**
     * 更新记录
     * @param logicCheckBackDO
     * @return 受影响的行数
     */
    public Integer updateLogicCheckBackDO(LogicCheckBackDO logicCheckBackDO) throws DataAccessException;

    /**
     * 获取对象列表
     * @param logicCheckBackDO
     * @return 对象列表
     */
    public List<LogicCheckBackDO> findListByExample(LogicCheckBackDO logicCheckBackDO) throws DataAccessException;

    /**
     * 根据主键获取logicCheckBackDO
     * @param id
     * @return logicCheckBackDO
     */
    public LogicCheckBackDO findLogicCheckBackDOByPrimaryKey(String id) throws DataAccessException;

    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteLogicCheckBackDOByPrimaryKey(String id) throws DataAccessException;
    
    public List<LogicCheckBackDO> find(SearchConditions scs) throws DataAccessException;
    
    public Integer count(SearchConditions scs) throws DataAccessException;
    

}